{if $fms_account}
	{run_app name="redirector" parameters="/"}	
{else}
<div id="accountLogin">
	<blockquote>{$Language->get('login')}</blockquote>
	<form action="{$env.url}account/login/" method="post" id="accountLoginForm">
		<input type="hidden" name="login" value="true" />
		<p class="account-form"><label for="username">{$Language->get('username')}: </label> <input type="text" name="username" id="username" /></p>
		<p class="account-form"><label for="password">{$Language->get('password')}: </label> <input type="password" name="password" id="password" /></p>
		<p class="account-form"><input type="button" onclick="return sendLogin()" value="{$Language->get('login')}" /></p>
		<p class="account-form"><a href="{$env.url}account/register/">{$Language->get('register')}</a> <a href="{$env.url}account/forgot-password/">{$Language->get('forgot_password')}</a></p>
	</form>
</div>
{/if}

<!-- error messages -->
<div id="dialog" class="dialogDivision" title="{$Language->get('dont_rush')}">
	{$Language->get('enter_username_password')}
</div>